﻿using System;
using System.Collections.Generic;
using System.Text;
using System.Data.SqlClient;

namespace AdoHelper
{
    
    public delegate void DataBaseErrorDelegate(object sender, DataBaseErrorEventArgs e);
    [Serializable]
    public class DataBaseErrorEventArgs : EventArgs
    {
        public DataBaseErrorEventArgs(Exception error)
        {
            this.dataBaseException = error;
        }

        private Exception dataBaseException;
        public Exception DataBaseException
        {
            get { return dataBaseException; }
        }
    }

}
